#include <iostream>
using namespace std;
class Base{
public:
    Base(long base)
    :_base(base)
    {
        cout << "Base(long)" << endl;
    }

private:
    long _base;
};

class Derived
:public Base
{
public:
    Derived(long base, long derived)
    :Base(base)
    ,_derived(derived){
        cout << "Derived(long)" << endl;
     }
private:
    long _derived;
};

void test(){
    //Derived d; error
    Derived d(1,2);
}

int main(int atgc, char * argv[])
{
    test();
    return 0;
}

